<div class="content-title" style="text-align: center;">
    <?php if($section->getType()->getType() == 'Download'): ?>
        <a href="<?php echo url_for('render_download_content', $content) ?>">
            <h2 style="text-decoration: underline"><?php echo $content->getTitle()?></h2>
        </a>
    <?php else: ?>
        <h2><?php echo $content->getTitle()?></h2>
    <?php endif; ?>
</div>
<div class="content-file" style="text-align: center;">
    <?php if($section->getType()->getType() == 'Download'): ?>
        <a href="<?php echo url_for('render_download_content', $content) ?>">
            <?php if($hasBigScreen): ?>
                <?php if($content->getThumbBig() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbBig()?>">
                <?php elseif($content->getThumbSmall() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbSmall()?>">
                <?php else: ?>
                    <img alt="<?php echo $content->getTitle()?>" src="/uploads/default/sound.jpg">
                <?php endif; ?>
            <?php else: ?>
                <?php if($content->getThumbSmall() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbSmall()?>">
                <?php else: ?>
                    <img alt="<?php echo $content->getTitle()?>" src="/uploads/default/sound.jpg">
                <?php endif; ?>
            <?php endif;?>
        </a>
        <div class="donload-message"><em>Para descargar haga clic sobre el contenido.</em></div>
    <?php else: ?>
        <a href="<?php echo '/uploads/portal_'.$section->getPortalId().'/sounds/'.$content->getSound()->getFile() ?>">
            <?php if($hasBigScreen): ?>
                <?php if($content->getThumbBig() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbBig()?>">
                <?php elseif($content->getThumbSmall() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbSmall()?>">
                <?php else: ?>
                    <img alt="<?php echo $content->getTitle()?>" src="/uploads/default/sound.jpg">
                <?php endif; ?>
            <?php else: ?>
                <?php if($content->getThumbSmall() != ''): ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="<?php echo '/uploads/portal_'.$portal->getId().'/images/'.$content->getThumbSmall()?>">
                <?php else: ?>
                    <img alt="<?php echo $content->getTitle()?>"
                         src="/uploads/default/sound.jpg">
                <?php endif; ?>
            <?php endif;?>
        </a>
    <?php endif; ?>
    <?php if($content->getAuthor() != ''): ?>
        <div class="content-author"><small><em>Autor: <?php echo $content->getAuthor()?></em></small></div>
    <?php endif; ?>
</div>